package com.eduadmin.mapper;

import com.eduadmin.entity.AdminUser;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface AdminUserMapper {
    AdminUser getAdminUser(String username);

    List<AdminUser> selectAllAdminUser(Map<String, Object> paraMap);

    Long selectAdminUserCount(Map<String, Object> paraMap);

    void insertNewAdminUser(AdminUser adminUser);

    void updateAdminUser(AdminUser adminUser);

    int deleteAdminUser(String adminids);
}
